StoreKeeper\WooCommerce\B2C\Imports\CouponCodeImport S

Total Complexity 44
Dependencies 10
Dependents 3
Total lines 292
Lines of code 175
Logical lines of code 95
Comment lines 20
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
makeMissingCouponPrivate()
S
62 5 11
updateCouponCode()
S
62 3 12
getCouponCodeByStorekeeperId()
S
57 2 17
__construct()
S
67 3 7
getCategoryTermIds()
S
64 3 10
applyCouponProperties()
S
56 1 17
getCouponType()
S
66 2 8
getFilters()
S
65 2 10
processItem()
S
65 2 9
getCouponExpireDate()
S
67 2 8
getCouponAmount()
S
67 2 8
getCouponCodeDateFormatted()
S
77 2 3
createCouponCode()
S
66 2 8
afterRun()
S
77 1 4
getCouponExcludedCategoryIds()
S
75 1 4
getCouponIncludedCategoryIds()
S
75 1 4
getSanitizedFilteredEmails()
S
77 1 3
applyIncludedCategories()
S
76 1 4
applyExpireDate()
S
76 1 4
applyExcludedCategories()
S
76 1 4
applyAmount()
S
76 1 4
applyType()
S
76 1 4
getLanguage()
S
82 1 3
getFunction()
S
82 1 3
getModule()
S
82 1 3
getImportEntityName()
S
79 1 3